// filter.go
package componnet

import (
	"html"
	"html/template"
)

//过滤
func FilterString(input string) string {
	output := template.HTMLEscapeString(input)
	output = template.JSEscapeString(output)
	output = html.EscapeString(input)
	return output
}
